import request from '@/utils/request'

// 用户登录
export const loginService = (email, password) =>
	request.post('/login', { email, password })

// 获取用户信息
export const userInfoService = () => request.get('/userInfo')

// 获取用户信息
export const userInfoByIdService = (id) => request.get(`/userInfo/${id}`)

